.inline-panel {
    position: fixed;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10;
    overflow: hidden;
}

/* 下拉展开动画 */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* 上拉收起动画 */
@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

.slide-down {
    animation: slideDown 0.5s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

/* 蒙层保持不变 */
.inline-panel-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
}